package cn.online.taxi.order.service.service;

import com.alibaba.dubbo.config.annotation.Service;

/**
 * @Author BinBini
 * @Date 2021/4/7 9:31
 * @Version 1.0
 */
@Service
public interface GrabService {

    /**
     * 司机抢单
     * @param orderNumber
     * @param driverId
     * @param driverToken
     * @return
     */
    boolean grabOrder(String orderNumber, Integer driverId, String driverToken);

}
